package cn.wolfcode.rbac.domain;


import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
public class Role {
    private Long id;

    private String name;

    private String sn;
    @TableField(exist = false)
    List<Permission> permissions = new ArrayList<>();
}